package com.xliang.spider.version04.quartz;

import com.xliang.spider.version04.quartz.base.AbstractJobService;
import com.xliang.spider.version04.service.SpiderLessonService;

import javax.annotation.Resource;

/**
 * ${DESCRIPTION}
 *
 * @author xiongl
 * @create 2016-06-21 16:45
 */
public class ScanLessonJob extends AbstractJobService
{
    @Resource
    private SpiderLessonService spiderScanLessonService;
    
    @Override
    public String getDescription()
    {
        return "定时任务：扫描课程";
    }
    
    @Override
    public void doExecute()
        throws Exception
    {
        spiderScanLessonService.scanLesson();
    }
}
